From c7883a3228221a653af0e30f20bc82705784567b Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 25 Aug 2006 20:41:06 +0000 Subject: [PATCH] (url-file-local-copy): Tell url-copy-file that the dest file will already exist. --- lisp/url/ChangeLog | 5 +++++ lisp/url/url-handlers.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 2bbe6085be4..e4b54f9fc92 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,8 @@ +2006-08-25 Stefan Monnier + + * url-handlers.el (url-file-local-copy): Tell url-copy-file that the + dest file will already exist. + 2006-07-31 Stefan Monnier * url-util.el (url-hexify-string): Only utf-8 encode if it's diff --git a/lisp/url/url-handlers.el b/lisp/url/url-handlers.el index 6c6d85a1e03..97d10003620 100644 --- a/lisp/url/url-handlers.el +++ b/lisp/url/url-handlers.el @@ -213,7 +213,7 @@ A prefix arg makes KEEP-TIME non-nil." Returns the name of the local copy, or nil, if FILE is directly accessible." (let ((filename (make-temp-file "url"))) - (url-copy-file url filename) + (url-copy-file url filename 'ok-if-already-exists) filename)) (defun url-insert (buffer &optional beg end) -- 2.30.2